package com.sdry.service.lz;

import java.util.List;

import com.sdry.model.lz.DeviceBreakdown;
import com.sdry.model.lz.LzQueryCriteria;

/**
 * @ClassName DeviceBreakdownService
 * @Description 设备故障维修单
 * @Author lz
 * @Date 2018年9月25日 16:01:39
 * @Version 1.0
 */
public interface DeviceBreakdownService {

	Long addDeviceBreakdown(DeviceBreakdown deviceBreakdown);

	Long deleteDeviceBreakdownById(long id);

	Long editDeviceBreakdownById(DeviceBreakdown deviceBreakdown);

	List<DeviceBreakdown> queryDeviceBreakdown(LzQueryCriteria criteria);

	int countDeviceBreakdown(LzQueryCriteria criteria);

	Long confirmRepairFinish(long id);

    List<DeviceBreakdown> queryDeviceBreakdownApproval(LzQueryCriteria criteria);

	int countDeviceBreakdownApproval(LzQueryCriteria criteria);

	Long updateApprovalStatusById(DeviceBreakdown deviceBreakdown);

	Long updateApprovalStatusById2(DeviceBreakdown deviceBreakdown);

	List<DeviceBreakdown> queryCCPeopleMSG();

    List<DeviceBreakdown> queryAllBreakdownApproval();
}
